cmake_minimum_required(VERSION 3.10)
project(ZeroMQProject)

set(CMAKE_CXX_STANDARD 17)


# 添加可执行文件
add_executable(publisher publisher.cpp)
add_executable(subscriber subscriber.cpp)

# 链接 zmq 库
target_link_libraries(publisher zmq)
target_link_libraries(subscriber zmq)
